package oops;

public class Inheritance extends MySuperClass {
	
	// Field has same name as another field in super class
	// Type is different. Still okay. This field hides that field.
	char food;
	
	// Does this foo() hide the foo() in super class ?
	// ans: NO (?)
	public void foo(int i, double ch) {}
	
	// This foo hides the foo() method in super class
	// Btw overriding was not specified here
	public void foo(int i, char ch) {}

}
